<cfif isDefined('form.myIcon')>
  <cfinvoke component="#myComponent#" method="#myMethod#" returnvariable="myReturn">
  	<cfinvokeargument name="icon" value="#form.myIcon#" />
  	<cfinvokeargument name="list" value="#form.myList#" />
  </cfinvoke>

  
<cfelse>
  <cfinvoke 
    component="#myComponent#" 
    method="#myMethod#" 
    returnvariable="myReturn">
  <cftry>
    <cfoutput>
      #myReturn#
      </cfoutput>
    <cfcatch type="any">
        <cfdump var="#myReturn#">
      </cfcatch>
  </cftry>
</cfif>